package com.ly.emp.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 工分登记详情RO
 *
 * @author yf
 * @since 2023-02-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "工分登记详情")
public class HubTeamRationRegDetailDTO {

    @Schema(description = "主键")
    private String id;

    @Schema(description = "录入任务外键")
    private String taskId;

    @Schema(description = "录入模式")
    private String addMode;

    @Schema(description = "考核周期")
    private String periodCode;

    @Schema(description = "项目ID")
    private String rationId;

    @Schema(description = "项目编码")
    private String rationCode;

    @Schema(description = "项目名称")
    private String rationName;

    @Schema(description = "项目类型")
    private String rationType;

    @Schema(description = "项目内容")
    private String rationContent;

    @Schema(description = "标准分值")
    private BigDecimal stdscore;

    @Schema(description = "积分计算单位")
    private String unit;

    @Schema(description = "描述")
    private String descr;

    @Schema(description = "工分")
    private BigDecimal workPoints;

    @Schema(description = "工作说明")
    private String workExpl;

    @Schema(description = "备注")
    private String reamrk;

    @Schema(description = "开始日期")
    private Date beginDate;

    @Schema(description = "结束日期")
    private Date endDate;

    @Schema(description = "工号")
    private String psnNum;

    @Schema(description = "姓名")
    private String psnName;

    @Schema(description = "组织编码")
    private String orgCode;

    @Schema(description = "组织名称")
    private String orgName;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "排序")
    private BigDecimal displayOrder;

    @Schema(description = "考核单位")
    private String suitUnit;

    @Schema(description = "归属部门标识")
    private String sysDeptId;

    @Schema(description = "归属单位标识")
    private String sysCompanyId;

    @Schema(description = "工作质量积分标准")
    private String qstandard;

    @Schema(description = "加扣分")
    private BigDecimal qspoints;

    @Schema(description = "累加得分")
    private BigDecimal sumPoints;

    @Schema(description = "积分分类(20	数量积分 10	质量积分 30	数量+质量积分)")
    private String rationForm;

    @Schema(description = "系数1")
    private String quotiety1Code;

    @Schema(description = "系数1value")
    private BigDecimal quotiety1;

    @Schema(description = "系数2")
    private String quotiety2Code;

    @Schema(description = "系数2value")
    private BigDecimal quotiety2;

    @Schema(description = "系数3")
    private String quotiety3Code;

    @Schema(description = "系数3value")
    private BigDecimal quotiety3;

    @Schema(description = "系数4")
    private String quotiety4Code;

    @Schema(description = "系数4value")
    private BigDecimal quotiety4;

    @Schema(description = "系数5")
    private String quotiety5Code;

    @Schema(description = "系数5value")
    private BigDecimal quotiety5;

    @Schema(description = "系数6")
    private String quotiety6Code;

    @Schema(description = "系数6value")
    private BigDecimal quotiety6;

    @Schema(description = "统计类型")
    private String statisticType;

    @Schema(description = "积分标准类")
    private String categoryCode;

    @Schema(description = "积分标准类")
    private String categoryName;

    @Schema(description = "工作工序")
    private String workingProcedure;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "标准作业时间")
    private BigDecimal standardoPerationTime;

    @Schema(description = "标准作业人数")
    private BigDecimal standardoPerationNum;

    @Schema(description = "连续工作折算系数")
    private BigDecimal conversionCoefficient;

    @Schema(description = "连续工作折算台数")
    private BigDecimal conversionUnits;

    @Schema(description = "工作地点")
    private String workplace;

    @Schema(description = "工作地点编码")
    private String workplaceCode;

    @Schema(description = "审核日期")
    private Date auditDate;

    @Schema(description = "工作角色")
    private String workRoleId;

    @Schema(description = "工作系数")
    private BigDecimal workQuotiety;
}